home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / crystal / cvmisc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-01-12  |  1.0 KB  |  42 lines

  1. /* cvmisc.h
  2.  *        miscellaneous flags and things
  3.  ************************************************************************/
  4.  
  5. #define    TRUE    (1)
  6. #define    FALSE    (0)
  7. #define MIN(a,b)    (((a) < (b)) ? (a) : (b))
  8.  
  9. extern int saved;    /* this one gets initial data */
  10.  
  11. extern int    dflag ,
  12.     demo ,
  13.     score ,
  14.     mxscore ,
  15.     limit ,            /* how long his lamp will last on current power */
  16.     setup ,            /* state of setup */
  17.     inorth ,        /* # of times he said NORTH instead of N */
  18.     detail ,        /* # of times we said "not allowed . .  */
  19.     numdie ,        /* # of times he died so far */
  20.     maxdie ,        /* # of ways to resurrect him */
  21.     holding ,        /* # objects he's carrying */
  22.     dkill ,            /* # of dwarves killed */
  23.     turns ,
  24.     nxtchr ,
  25.     abbnum ,        /* how often he gets long description */
  26.     clock1 ,        /* time from last treasure to closing */
  27.     clock2 ,        /* time from closing to closed */
  28.         /* LOGICALS FOLLOW */
  29.     bonus ,            /* gets bonus for correct finish */
  30.     closing ,        /* are we closing? */
  31.     panic ,            /* has he panicked */
  32.     wzdark ,
  33.     closed ,
  34.     gaveup ,
  35.     scoring ,
  36.     mltcmd ,
  37.     blklin ,
  38.     samvrb ,
  39.     finish ,
  40.     lmwarn ;
  41.  
  42.